projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad162f
)
* fileio.c (Fsubstitute_in_file_name): Use ptrdiff_t, not int,
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 10 Dec 2012 01:44:32 +0000
(17:44 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 10 Dec 2012 01:44:32 +0000
(17:44 -0800)
for string length.
src/ChangeLog
patch
|
blob
|
history
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 222be9575b8a4122ecac1e01b8dbee91c50cee2b..dd51eb9ed3b4abcedb49716aca590609906806f1 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2012-12-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ * fileio.c (Fsubstitute_in_file_name): Use ptrdiff_t, not int,
+ for string length.
+
2012-12-08 Eli Zaretskii <eliz@gnu.org>
* w32.c (unsetenv): Return 0 if the input string is too long.
diff --git
a/src/fileio.c
b/src/fileio.c
index de3b84ba95dc2e9ca9a23a1388110d951ab4d131..56c340bfa40a68db37d6d99906f6444e3d924de0 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-1590,7
+1590,7
@@
those `/' is discarded. */)
{
char *nm, *s, *p, *o, *x, *endp;
char *target = NULL;
-
in
t total = 0;
+
ptrdiff_
t total = 0;
bool substituted = 0;
bool multibyte;
char *xnm;